package cn.wolfcode.luowowo.acticle.domain;

import cn.wolfcode.luowowo.member.domain.UserInfo;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 问题
 */
@Getter
@Setter
public class Query implements Serializable{
    private Long id;            //id
    private Destination dest;   //目的地
    private UserInfo author;    //用户
    private String title;       //标题
    private String summary;     //概要
    private String coverUrl;    //封面
    private Date createTime;    //创建时间
    private Integer viewnum;    //阅读数
    private Integer replynum;   //回复数
    private Integer follownum;  //关注数
    private QueryContent QueryContent; //问题内容
    private Answer answer;      //回答

    }